export const setToken = (token: string) => {
  localStorage.setItem('all-round-token', token)
}
export const getToken = () => {
 return localStorage.getItem('all-round-token')
}
export const rmToken = ()=>{
  localStorage.removeItem('all-round-token')
}
export const toLogin = ()=>{
  const redirectUri = encodeURIComponent(location.origin + '/workbench/dashboard/workplace')
  location.href = `https://passport.feishu.cn/suite/passport/oauth/authorize?client_id=cli_a33d5a6cec955013&redirect_uri=${redirectUri}&response_type=code`
}